package com.example.kaogong.sys.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @description: 课程类型传输对象
 * @author: 徐文升
 * @create: 2022-03-27 22:15
 **/

@Data
@EqualsAndHashCode
@ApiModel(value = "CourseTypeDto对象", description = "课程类型传输对象")
public class CourseTypeDto {

    @NotBlank(message = "课程类型名不能为空")
    @ApiModelProperty(value = "课程类型名", required = true)
    private String typeName;

    @ApiModelProperty(value = "课程类型备注")
    private String typeMark;

}
